const base = [
  {
    path: "",
    component: () => import("@/components/layout/index.vue"),
    name: "Layout",
    redirect: "/home",
    children: [
      {
        path: "/home",
        component: () => import("@/views/home/index.vue"),
        name: "home",
        leave: 1,
        title: "首页",
        meta: {
          icon: "House",
          name: "首页",
        },
      },
      {
        path: "/test/pinia",
        component: () => import("@/views/test/pinia.vue"),
        name: "pinia",
        leave: 1,
        title: "Pinia",
        meta: {
          icon: "House",
          name: "Pinia",
        },
      },
      {
        path: "/test/cnode",
        component: () => import("@/views/test/cnode.vue"),
        name: "Cnode",
        leave: 1,
        title: "Cnode",
        meta: {
          icon: "House",
          name: "Cnode",
        },
      },
      {
        path: "/test/comps",
        component: () => import("@/views/test/lw/comps.vue"),
        name: "comps",
        leave: 1,
        title: "comps",
        meta: {
          icon: "House",
          name: "组件测试",
        },
      },
      {
        path: "/study",
        component: () => import("@/views/study/index.vue"),
        name: "study",
        leave: 1,
        title: "study",
        meta: {
          icon: "House",
          name: "vue3Study",
        },
      },
    ],
  },
];

export default base;
